package NGUYENNGOCMINH.OOP_EXAMPLE;

public class People {
	private int id;
	private String name;
	private int sochan;
	private int sotay;
	private String mautoc;
	private String ngonngu;
	private String gioitinh;
	
	public People() {
		id = 0;
		name = "No Name";
		sochan = 0;
		sotay = 0;
		mautoc = "";
		ngonngu = "";
		gioitinh = "";
	}
	
	public People(int id, String name, int sotay, int sochan, String mautoc, String ngonngu, String gioitinh) {
		this.id = id;
		this.name = name;
		this.sochan = sochan;
		this.sotay = sotay;
		this.mautoc = mautoc;
		this.ngonngu = ngonngu;
		this.gioitinh = gioitinh;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSochan() {
		return sochan;
	}

	public void setSochan(int sochan) {
		this.sochan = sochan;
	}

	public int getSotay() {
		return sotay;
	}

	public void setSotay(int sotay) {
		this.sotay = sotay;
	}

	public String getMautoc() {
		return mautoc;
	}

	public void setMautoc(String mautoc) {
		this.mautoc = mautoc;
	}

	public String getNgonngu() {
		return ngonngu;
	}

	public void setNgonngu(String ngonngu) {
		this.ngonngu = ngonngu;
	}

	public String getGioitinh() {
		return gioitinh;
	}

	public void setGioitinh(String gioitinh) {
		this.gioitinh = gioitinh;
	}
}
